 let fieldMap={
    article_category:[{key:"0",value:"玩法技巧"},{key:"1",value:"区块链资讯"}],
    article_playSkill:[{key:"0",value:"新手入门"},{key:"1",value:"交易提示"},{key:"2",value:"卷轴攻略"}],
    article_blockchain:[{key:"0",value:"区块链资讯"},{key:"1",value:"行情预测"}],
    article_status:[{key:"0",value:"编辑"},{key:"1",value:"发布"}],  
    user_status:[{key:"0",value:"禁用"},{key:"1",value:"可用"}],  
    user_type:[{key:"1",value:"普通会员"},{key:"2",value:"vip会员"},{key:"3",value:"代理"},{key:"4",value:"客服"},{key:"5",value:"管理员"}],  
    card_status:[{key:"0",value:"未充值"},{key:"1",value:"已充值"}],  

}; 
function publicFilter(ary,value){
    if (!value) return ''
    value = value.toString()
    let obj=ary.filter(item=>item.key==value)[0] 
    return obj.value;
}
export {
    fieldMap,
    publicFilter,
};
